package com.ztt.vxchat;

import cn.hutool.core.lang.Console;
import cn.hutool.core.util.StrUtil;
import com.ztt.vxchat.controller.VXController;
import com.ztt.vxchat.timer.TaskTimer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class VxChatApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(VxChatApplication.class, args);

//        启动的时候获取一次TOKEN
        new VXController().getToken();


    }

}
